﻿using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;

namespace BundleA
{
    class Activator : IDisposable
    {
        internal string Location { get; private set; }
        /// 应用启动
        /// </summary>
        /// <param name="context"></param>
        public void Start(IServiceProvider provider)
        {
        }

        //public void Configure(IServiceCollection services, IConfiguration configuration)
        //{

        //}



        //public void Configure(IServiceCollection service)
        //{

        //}

        public void Configure(IConfiguration configuration)
        {

        }

        public bool Match(IServiceProvider provider) => false;

        public void Dispose()
        {
            Console.WriteLine($"{typeof(Activator).FullName} Disposed");
        }
    }
}